package com.yunxi.model.otd;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 生产工作日历
 * </p>
 *
 * @author XUQI
 * @since 2019-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pms_otd_produce_calendar")
@ApiModel(value = "OtdProduceCalendar对象", description = "生产工作日历")
public class OtdProduceCalendar implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "CALENDAR_ID",type = IdType.UUID)
    private String calendarId;

    @ApiModelProperty(value = "日期")
    @TableField("DAY")
    private Date day;

    @ApiModelProperty(value = "是否工作日 0否  1 是")
    @TableField("IS_WORK")
    private Integer isWork;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "操作人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "操作时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "版本号")
    @TableField("VERSION")
    private Integer version;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "接口传送标识")
    @TableField("IS_SEND")
    private Integer isSend;


}
